# -*- encoding:utf-8 -*-
'''
	testvideoservice.py
	======================
	@descript: 
	@copyright:chinasoft
	@author:guoxiaofei
	@date: 2021-01-27 20:38
	@version:v1.0
'''
import  unittest

from service.videoservice import VideoService
from videoproject.items import VideoprojectItem

class VideoServiceTest(unittest.TestCase):
    def testvideoSaveToDB(self):
        var_VideoService=VideoService()
        var_VideoprojectItem=VideoprojectItem()
        var_VideoprojectItem['videoname'] = 'wushi'
        var_VideoprojectItem['videourl'] = 'www.com111'
        var_VideoprojectItem['videoimage'] = 'www.bayi.jpg'

        var_result=var_VideoService.videoSaveToDB(var_VideoprojectItem)
        print(var_result)

        pass
    pass